<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>第二步</title>
	<css file='__PUBLIC__/css/index.css'>
	<jquery/>
	<js file='__PUBLIC__/js/index.js'>
</head>
<body>
	<form action="{|U('step3')}" id='form2' method='post'>
	<div class='wrap'>
		<h2 class='tit'>EASYCMS后台管理系统正在安装
			<span>正在安装
			<b>v1.0正式版</b>
		</span>
		</h2>
		<div class='sudu2'></div>
		<h2 class='azinfo'>程序环境</h2>
		<table class='table1'>
			<tr>
				<th>参数</th>
				<th style='text-align:left;text-indent: 20px;'>值</th>
			</tr>
			<tr>
				<td>PHP版本</td>
				<td>
					<if value="{$check.functions.version}">
                        {$hd.const.PHP_VERSION}
                    <else>
                        <span class="error">当前环境PHP版本过低</span>
                    </if>
				</td>
			</tr>
			<tr>
				<td>GD库</td>
				<td>
					<if value="{$check.functions.gd}">
                        正常
                    <else>
                       	必须开启GD库
                    </if>
				</td>
			</tr>
			<tr>
				<td>imagejpeg函数</td>
				<td>
					<if value="{$check.functions.imagejpeg}">
                        可用
                    <else>
                        不存在
                    </if>
				</td>
			</tr>
			<tr>
				<td>imagepng</td>
				<td>
					<if value="{$check.functions.imagepng}">
                        可用
                    <else>
                        不存在
                    </if>
				</td>
			</tr>
		</table>
		<h2 class='azinfo'>目录权限检测</h2>
		<table class='table1'>
			<tr>
				<th>目录名</th>
				<th style='text-align:left;text-indent: 20px;'>
					<span>状态</span>
				</th>
			</tr>
			<tr>
				<td>/</td>
				<td>
					<if value="{$check.dirs.root}">
                        <span class='succ'>可写</span>
                    <else>
                        <span class='error'>不可写</span>
                    </if>
				</td>
			</tr>
			<tr>
				<td>/config</td>
				<td>
					<if value="{$check.dirs.config}">
                        <span class='succ'>可写</span>
                    <else>
                        <span class='error'>不可写</span>
                    </if>
				</td>
			</tr>
			<tr>
				<td>/temp</td>
				<td>
					<if value="{$check.dirs.temp}">
                        <span class='succ'>可写</span>
                    <else>
                        <span class='error'>不可写</span>
                    </if>
				</td>
			</tr>
			<tr>
				<td>/h </td>
				<td>
					<if value="{$check.dirs.h}">
                        <span class='succ'>可写</span>
                    <else>
                        <span class='error'>不可写</span>
                    </if>
				</td>
			</tr>
		</table>
		<div class='btn'>
			<input type='submit' class='bt1' value='下一步'>
		</div>
	</div>
</form>
</body>
</html>